package com.dayuanit.dy15.atm.mapper;

import com.dayuanit.dy15.atm.entity.Card;

import java.util.List;

public interface CardMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Card record);

    int insertSelective(Card record);

    Card selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Card record);

    int updateByPrimaryKey(Card record);

    Card getCardByNum(String cardNum);

    List<Card> listCard(Long userId);
}